package java3_16.Teacher;

public class TeacherTest {
    public static void main(String[] args) {
        JavaTeacher jt = new JavaTeacher("java老师",38,"男","10年");
        jt.selfIntroduce();
        jt.teachJava();
        jt.giveLession();
        System.out.println("***************************************");

        UiTeacher ut = new UiTeacher("UI老师",35,"男","8年");
        ut.selfIntroduce();
        ut.teachUi();
        ut.giveLession();
        System.out.println("***************************************");

        NetTeacher nt = new NetTeacher(".Net老师",42,"男","15年");
        nt.selfIntroduce();
        nt.teachNet();
        nt.giveLession();
    }
}
